a: float = 2;
b := 4.2;
HEY :: 8;
HELLO : float : 8;
Key :: enum {
Up;
Down;
Left;
Right;
}
Event_Type :: enum {
UNINIT :: 0;
KEYBOARD :: 1;
TEXT_INPUT :: 2;
//etc
DRAG :: 6;
//etc
}
Key_Current_State :: enum_flags u32 {
NONE :: 0x0;
DOWN :: 0x1;
START :: 0x4;
END :: 0x8;
}
My_Struct :: struct {
shift_pressed := false;
}
Buller :: struct {
pos: Vector2;
}
Types